import 'package:flutter_taotaoshipin/generated/json/base/json_field.dart';
import 'package:flutter_taotaoshipin/generated/json/sms_send_entity.g.dart';
import 'dart:convert';

@JsonSerializable()
class SmsSendEntity {
	bool? state;
	String? msg;

	SmsSendEntity();

	factory SmsSendEntity.fromJson(Map<String, dynamic> json) => $SmsSendEntityFromJson(json);

	Map<String, dynamic> toJson() => $SmsSendEntityToJson(this);

	SmsSendEntity copyWith({bool? state, String? msg}) {
		return SmsSendEntity()
			..state= state ?? this.state
			..msg= msg ?? this.msg;
	}

	@override
	String toString() {
		return jsonEncode(this);
	}
}